package com.tzb.ssm.dao.admin;

import com.tzb.ssm.entity.admin.Menu;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface MenuDao {

    public int add(Menu menu);

    List<Menu> findList(Map<String, Object> queryMap);

    public List<Menu> findTopList();

    int getTotal(Map<String, Object> queryMap);
}
